#include<iostream>
#include<string>
#include"student.h"
using namespace std;
void Student::display()
{
    cout<<"num:"<<num<<endl;
    cout<<"name:"<<name<<endl;
    cout<<"sex:"<<sex<<endl;
}
void Student::set_value()
{   
    cout<<"Please enter student number"<<endl;
    cin>>num;
    cout<<"Please enter student name"<<endl;
    cin>>name;
    cout<<"Please enter student sex"<<endl;
    cin>>sex;
}